package com.wkbb.basic.service;

import com.github.pagehelper.PageInfo;
import com.wkbb.common.dto.basic.VisitorInviteDto;
import com.wkbb.common.dto.basic.VisitorUserDto;
import com.wkbb.common.dto.ResultDTO;
//import com.wkbb.basic.vo.ValidVisitorDeviceUserVo;

import java.util.List;
import java.util.Map;

/**
 * @author caohongdan
 * @date 2020/8/5
 * @description
 */
public interface VisitorService {
    ResultDTO addVisitor(VisitorInviteDto visitorInviteDto) throws Exception;

    ResultDTO addVisitorUser(VisitorUserDto visitorUser) throws Exception;

    void updateVisitorUser(VisitorUserDto visitorUser) throws Exception;

    PageInfo<VisitorInviteDto> getVisitorList(Map<String, Object> params, Integer pageNo, Integer pageSize) throws Exception;

    void cancelVisitor(Long id) throws Exception;

   // List<ValidVisitorDeviceUserVo> getValidVisitorUserList(Map<String, Object> params);

    void updateVisitorStatus() throws Exception;

    VisitorInviteDto getVisitUserDetails(Long id) throws Exception;

    void deleteVisitorFace(Long orgId,Long userId) throws Exception;

    ResultDTO addVisitorThird(VisitorInviteDto visitorInviteDto) throws Exception;


    void visitorRecord(Long userId,Long attTime,String deviceCode,Long areaId) throws Exception;


}
